package name.hankc.spring;

import java.util.stream.Stream;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import name.hankc.spring.bean.PersonP2;

import org.springframework.context.ApplicationContext;

public class XMLPlaceholderApplication {

  public static void main(String[] args) throws Exception {
    ApplicationContext ctx = new ClassPathXmlApplicationContext("basic_dl/placeholder.xml");

    PersonP2 person = ctx.getBean(PersonP2.class);
    System.out.println(person);
  }
}